#include "typing.h"
#include "ui_typing.h"

typing::typing(QWidget *parent) :
    QWidget(parent),
    m_ui(new Ui::typing)
{
    m_ui->setupUi(this);
}

typing::~typing()
{
    delete m_ui;
}

void typing::changeEvent(QEvent *e)
{
    QWidget::changeEvent(e);
    switch (e->type()) {
    case QEvent::LanguageChange:
        m_ui->retranslateUi(this);
        break;
    default:
        break;
    }
}
void typing::setText(const QString &text){
    m_ui->textBrowser->setText(text);
}
